home *** CD-ROM | disk | FTP | other *** search
- {@@@@@@@@@@@ copyright (C) 1984 by Neil J. Rubenking @@@@@@@@@@@@@@@@@@@@@@@@
- The purchaser of these procedures and functions may include them in COMPILED
- programs freely, but may not sell or give away the source text.
-
- This program makes handy large-letter titles by using the ROM
- patterns looked up by GRFXTABL.LIB, which naturally must be
- INCLUDEd in any program that INCLUDEs this file.
-
- }
- type
- title_type = string[10];
-
- {@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@}
- procedure MakeTitle(title : title_type; Starting_row : byte);
- var
- N, lenth, starting_col, this_col : byte;
- begin
- lenth := length(title);
- starting_col := ((80 - 8*lenth) div 2) and $00FF;
- for N := 1 to lenth do
- begin
- this_col := starting_col + 8*(N-1) +1;
- window(this_col,starting_row,this_col+7,starting_row+8);
- ShowEntry(table[ord(title[N])]);
- end;
- window(1,1,80,25);
- end;
- {@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@}